﻿using System.Diagnostics;

namespace Scheduler
{
    [DebuggerStepThrough]
    public class EventArgs
    {
        public EventId Id { get; }
        /// <summary>
        ///  [0] St
        /// </summary>
        public object[] UserData { get; }


        /// <param name="id"><see cref="EventId"/></param>
        /// <param name="userData">[0]=St Index  </param>
        [DebuggerStepThrough]
        public EventArgs(EventId id, params object[] userData)
        {
            Id = id;
            UserData = userData;
        }


    }

    public enum EventId
    {
        Init = 0,
        Cleanup,
        InLotBegin,
        OutLotEnd,
        PassBegin,
        PassEnd,
        Handle,
        UserDefinedEventId
    }
}